.reset-button {
    /* 移除内外边距 */
    margin: 0;
    padding: 0;

    /* 移除默认的背景和边框 */
    background: none;
    border: none;

    /* 移除默认的文字样式 */
    font: inherit;
    color: inherit;

    /* 移除按钮的内建样式 */
    appearance: none;
    /* 对于大多数现代浏览器 */
    -webkit-appearance: none;
    /* Safari 和 Chrome */

    /* 移除点击时的轮廓 */
    outline: none;

    /* 可选：确保按钮可以被点击 */
    cursor: pointer;

    /* 如果需要完全去除所有用户交互样式 */
    &:active,
    &:focus,
    &:hover,
    &:after {
        background: none;
        border: none;
        outline: none;
    }
}

.faq-container {
    padding: 40rpx 32rpx;
    box-sizing: border-box;
}

.faq-header {
    text-align: center;
    margin-bottom: 60rpx;
    padding: 60rpx 40rpx;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 32rpx;
    box-shadow: 0 16rpx 48rpx rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20rpx);
    border: 1rpx solid rgba(255, 255, 255, 0.2);

    .header-title {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 24rpx;
        margin-bottom: 24rpx;

        .title-text {
            font-size: 48rpx;
            font-weight: 700;
            color: #2c3e50;
            background: linear-gradient(135deg, #4f46e5, #7c3aed);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
    }

    .header-subtitle {
        font-size: 28rpx;
        color: #7f8c8d;
        font-weight: 400;
        line-height: 1.5;
    }
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24rpx;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24rpx;
    box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20rpx);
    border: 1rpx solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    &:hover {
        transform: translateY(-4rpx);
        box-shadow: 0 16rpx 48rpx rgba(0, 0, 0, 0.12);
    }

    &.expanded {
        box-shadow: 0 16rpx 48rpx rgba(79, 70, 229, 0.15);
        border-color: rgba(79, 70, 229, 0.2);
    }
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40rpx;
    cursor: pointer;
    transition: all 0.3s ease;

    .question-text {
        flex: 1;
        font-size: 32rpx;
        font-weight: 600;
        color: #2c3e50;
        line-height: 1.5;
        margin-right: 24rpx;
    }

    .expand-icon {
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }
}

.faq-item.expanded .expand-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(79, 70, 229, 0.02);
    border-top: 1rpx solid transparent;

    &.show {
        max-height: 500rpx;
        border-top-color: rgba(79, 70, 229, 0.1);
    }

    .answer-text {
        display: block;
        padding: 0 40rpx 40rpx;
        font-size: 28rpx;
        color: #5a6c7d;
        line-height: 1.7;
        text-align: justify;
    }
}

:deep(.wd-fab) {
    z-index: 1000;
}

:deep(.wd-fab .wd-button) {
    box-shadow: 0 8rpx 24rpx rgba(79, 70, 229, 0.3);
    transition: all 0.3s ease;

    &:active {
        transform: scale(0.95);
        box-shadow: 0 4rpx 16rpx rgba(79, 70, 229, 0.4);
    }
}

// 响应式设计
@media (max-width: 768rpx) {
    .faq-container {
        padding: 20rpx 16rpx;
    }

    .faq-header {
        padding: 40rpx 24rpx;
        margin-bottom: 40rpx;

        .header-title .title-text {
            font-size: 40rpx;
        }

        .header-subtitle {
            font-size: 24rpx;
        }
    }

    .faq-question {
        padding: 32rpx 24rpx;

        .question-text {
            font-size: 28rpx;
        }
    }

    .faq-answer .answer-text {
        padding: 0 24rpx 32rpx;
        font-size: 26rpx;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30rpx);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
}

.faq-container {
    .faq-item:nth-child(1) {
        --item-index: 0;
    }

    .faq-item:nth-child(2) {
        --item-index: 1;
    }

    .faq-item:nth-child(3) {
        --item-index: 2;
    }

    .faq-item:nth-child(4) {
        --item-index: 3;
    }

    .faq-item:nth-child(5) {
        --item-index: 4;
    }

    .faq-item:nth-child(6) {
        --item-index: 5;
    }
}